﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lamex.SIESystemManager.Calculate
{
    public class C_D04
    {
        public double GetD04(string W1, string W2)
        {
            double TD04 = 0, Tw1 = 0, Tw2 = 0;
            Tw1 = double.Parse(string.IsNullOrEmpty(W1) ? "0" : W1);
            Tw2 = double.Parse(string.IsNullOrEmpty(W2) ? "0" : W2);
            TD04 = (2 * (Tw1 + Tw2) * 7.3) / 1000;
            return TD04;
        }
    }
}
